package com.bml.distributed.lock.distributedlock.feign;

import com.bml.distributed.lock.distributedlock.vo.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "my-account",path = "/account")
public interface AccountServiceProvider {


    @RequestMapping("/findById/{userId}")
    R findUserById(@PathVariable("userId")Integer userid);
}